%% -*- mode: erlang -*-
[
    {nitrogen_core, [
        % If a signkey is not specified, then Nitrogen uses the Erlang cookie.
        % {signkey, "SECRET"}, 

        % Default session timeout is 20 minutes.
        % {session_timeout, 20},

        % Specify a session cookie name. Uses "wf" by default.
        % {cookie_name, "wf"},
		
		% Setting the module_prefix to anything other than "" will change the
		% behaviour of the dynamic route handler (the default route handler) to
		% prefix page modules with it's value followed by an underscore.  For
		% example, setting module_prefix to "web" will make your page module
		% for "/mypage" be called "web_mypage".
		% {module_prefix, ""}
    ]},

    %% SASL config
    {sasl, [
        {sasl_error_logger, {file, "log/sasl-error.log"}},
        {errlog_type, error},
        {error_logger_mf_dir, "log/sasl"},      % Log directory
        {error_logger_mf_maxbytes, 10485760},   % 10 MB max file size
        {error_logger_mf_maxfiles, 5}           % 5 files max
    ]}
].
